package exceptions;

import be.kuleuven.cs.som.annotate.*;
import item.*;

/**
 * @author John Breyssem	1Ba Informatica		r0303394
 * 
 * @author Lars Feyaerts	1Ba Informatica		r0296831
 * 
 * @version	1.3
 *
 */
@SuppressWarnings("serial")
public class NotOnAPositionException extends RuntimeException{
	
	public Item item;
	
	public NotOnAPositionException(Item item){
		this.item = item;
	}
	
	@Basic @Immutable @Raw
	public Item getItem(){
		return item;
	}
	

}
